#ifndef ABOS_INC_STDIO_H
#define ABOS_INC_STDIO_H
#include <include/types.h>
void init_video(void);
void set_pos(int x,int y);
void cls (void);
void printk(const char *format, ...);
void set_color(uint8_t b,uint8_t f,uint16_t t);

#define BLACK	0x0		//0000
#define WHITE	0x7		//0111
#define RED		0x4		//0100
#define GREEN	0x2		//0010
#define BLUE	0x1		//0001
#define FLASH	0x80	//1000 0000
#define BRIGHT	0x08	//0000 1000
// background,foreground,t:flash,bright
#define MAKE_COLOR(b,f,t) (((b)<<4)|(f)|(t))

#endif	/* !ABOS_INC_STDIO_H */
